Skip to content

feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages - #37166

Merged
os-zhuang merged 32 commits into
mainfrom
claude/issue-36908-remove-studio-home
Nov 25, 2026
Merged

os-zhuang merged 32 commits into
mainfrom
claude/issue-36908-remove-studio-home

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #36908
Clause-②: no
Metadata-protocol: none

维护者速读

What changes

Epic #36890 decision 9: the package-card page at bare /studio (BuilderLanding) is removed. This PR finds a new home for every entry it carried and deletes the page, the code only it used, and its tests.

Every Studio exit that names no package now makes one choice, studioEntryFallbackPath: Setup → Packages (/apps/setup/component/developer/packages?face=admin) for a principal holding setup.access and manage_platform_settings, and /studio/~all/metadata (the All metadata area) for one who may enter Studio but not that page. The capability set is the one Studio's entry gate read: app-shell now exports StudioEntryPermissionsProvider and useStudioEntryPermissions, and the console's RequireStudioAccess provides the set around the /studio subtree. Outside that provider the set reads as holding nothing, so nobody is sent to a page they may not open.

Entry the home carried Where it goes now
bare /studio StudioEntryRedirect (in the lazy Studio chunk). It opens the newest remembered package (the recent package entries StudioRoute records) that GET /api/v1/packages still lists, else studioEntryFallbackPath. If the list cannot be read, it opens the newest remembered package, and Studio reports the failed read itself.
New package (/studio?new=package) SETUP_NEW_PACKAGE_PATH: the admin face with ?new=package. It opens New Package on arrival and drops the param with a replace. After create it lands in Studio on the new package (#36834). Callers: Home's no-agent chip, the /ai no-assistant screen, the 「Add app」 menu and the no-apps screen, all labelled 「New blank app」 / 「新建空白应用」 now (below); for an author who may not open Setup → Packages each of them, like the bookmark, opens the All metadata area instead (useNewPackageDoorPath, newPackageDoorPath). An old /studio?new=package bookmark goes there for a holder of the pair, and to the All metadata area for anyone else (studioNewPackageEntryPath). One-step 新建应用 is #37134.
~all / ~org cards Already in the left menu (#36899). Nothing more to do here.
Per-app "n customized, m switched off" and the "Customizations in this environment" panel PackageCustomizationsPanel, shown in a read-only base's detail sheet on the admin face. It is not shown for an authored package, a .custom pair or a kernel package. It has a summary line, rows with tabs (adds Layouts), search, Show all, and 「Customize in Studio」. "Customized" now counts counts.arrangements. This delivers #36833's requirement in the panel's new home; #36833 was closed as not planned (ruling 7125820739), so this PR does not close it.
Card Manage and the All packages link (development face) Not this card: the door is added by #37139 (card note 7146329913). The development face stays reachable by its address.
Recently viewed Now Studio's entry itself: /studio opens the newest remembered package.
「包不存在」 → Studio home The button follows studioEntryFallbackPath: 「Open the package list」 → Setup → Packages for a holder (engine.studio.notFound.packageList), 「Open All metadata」 → the All metadata area otherwise (new key engine.studio.notFound.allMetadata).
AppContent fallbacks, packagedActionsStudioPath fallback with no package named SETUP_PACKAGES_PATH.
studio:builder (the @objectstack/studio app's 「应用构建」) Forwards to /studio.
「Add app」 (sidebar app menu, and the no-apps screen's buttons) Maintainer rulings 7153161067 and 7153400210 on #36908: 「Build with AI」 (to bare /studio) is removed, and new-in-studio is pushed for every admitted viewer on a deployment that offers metadata authoring, whether or not the build agent is served. It is relabelled under its existing key home.build.inStudio: en "New blank app", zh-Hans 「新建空白应用」, zh-Hant regenerated (「新建空白應用」), and the eight other packs translated anew, as check:i18n-drift requires of an en change. Home's no-agent chip and the /ai button read the same key; their inline defaultValue now matches the en value (check:i18n-keys); the chip's condition and target are unchanged. It stays inside isAiStudioEnabled(), because with features.aiStudio false the runtime offers no metadata authoring; a viewer useMayAddApp admits there gets the marketplace's two entries, so the list is never empty for an admitted viewer. SidebarAppMenu reads the list itself and draws neither 「Add app」 nor its separator for an empty list. Home's 「Build an app」 chip and Home's 「Build with AI」 drawer button are untouched.

Removed: BuilderLanding.tsx, its BuilderLanding.* test files, fetchInstalledPackageRow (only the home's Manage called it) with its pin, and the home's console frame in StudioRoute (header and command palette). Two deleted suites still pinned code that stays, and those halves moved (see Tests): the permission matrix's read-only hint copy, and the three new-app door cases. LandingCustomizationsPanel and landingCustomizations-io were renamed and rewritten as PackageCustomizationsPanel and packageCustomizationRows. newAppDoor.ts, PackageFormDialog's newApp branch and the engine.studio.newApp.* strings stay for #37134; the branch keeps its three cases, now mounted on PackageFormDialog itself.

Strings. The home's engine.studio.landing.* keys and engine.studio.landingHome that ship in the released @object-ui/i18n@18.6.0 (71 in each of en and zh, measured against the published tarball; 3 of them are still read by the Packages page) stay, the other 68 no longer read. Removing a published key is a narrowing, so this PR removes none. The four landing keys added after 18.6.0 and never released (manage, manageTitle, allPackages, allPackagesTitle) are removed. engine.packages.customizations.*, engine.studio.notFound.packageList and engine.studio.notFound.allMetadata are added (38 keys per language). The PR changes no existing value.

Changesets. 36908-remove-studio-home.md (app-shell, console, platform-objects) says what users see, in their words. The i18n note is in its own @object-ui/i18n-only changeset, 36908-studio-home-strings.md. Both carry the two declaration lines.

Checklist: studio-authoring.package-customization-counts-and-marks (rev 4) and studio-authoring.org-scope-flows (rev 5) are re-pointed. The rev 4 note now says #36833 was closed as not planned and this card delivers its requirement; its acceptance[2].verify names PackageCustomizationsPanel.test.tsx as the pin. Also re-pointed off the removed home: automation.setup-packaged-automation-board (rev 15: title, steps[1], acceptance[0]; the packaged-actions bookmark with no ?package= opens Setup → Packages), studio-authoring.first-run-loop (rev 16, steps[1]: 「Build an app」 opens the last package or Setup → Packages, the other chip reads 「New blank app」), and the fixture lines of automation.packaged-flow-clone-contract (rev 14), studio-authoring.held-edit-leave-guard (rev 12) and ux-conventions.write-feedback (rev 18), which made their scratch package on the Studio landing.

Size at 54e4586e: +2,306 / −5,217 across 101 files rename-aware (+2,680 / −5,591 across 103 without renames), mostly deletions. Per ruling 7145880574 on #36890 this lands as one PR, reviewed by the maintainer after L1.

Overlaps (overlap-check at 54e4586e, against origin/main 4fb03ebb, exit 1 for #37249 below): origin/main merges cleanly. This round merged main six times: cf77ecb9 (K 12) was clean, and 54e4586e (K 9, with #37169) is resolved below. Resolved:

Still open; whichever lands second merges main and resolves:

Read first

  1. ui/packages/app-shell/src/views/studio-design/StudioEntryRedirect.tsx: the whole /studio decision, and the two capability helpers. Risk: where a non-administrator lands (the studioEntryFallbackPath pair), now for the bookmark too.
  2. ui/packages/app-shell/src/views/studio-design/PackageCustomizationsPanel.tsx and the mount in PackagesPage.tsx (PackageDetailSheet). Risk: the gate !authoring && !writable && !isKernel && !isCustomizationPackage(id).
  3. ui/apps/console/src/components/StudioRoute.tsx with studioEntryPermissions.ts: the index route and the capability set the entry gate provides to Studio (StudioEntryPermissionsProvider), which the not-found exit reads.

Two-minute verification

As the seeded admin with nothing remembered, open /_console/studio. Expected: you land on Setup → Packages (…/developer/packages?face=admin). Open the ObjectStack Showcase row: its detail shows "Customizations in this environment" with a Customize in Studio link.

Tests

New pins:

  • StudioEntryRedirect.test.tsx (12 cases): the newest remembered package the list still names opens; a package the list no longer names is skipped; nothing remembered leads to Setup → Packages, read without a list request; a Studio-only principal lands on ~all; a failed list read opens the newest remembered package; the old new-package bookmark is forwarded for an administrator (CONTROL) and sends a Studio-only principal to ~all, never to Setup; both helpers read the same capability pair.
  • StudioDesignSurface.notFound-26708: the not-found button opens Setup → Packages for an administrator (CONTROL), and for a Studio-only principal it reads 「Open All metadata」 and opens ~all, never Setup. The harness provides the entry gate's set through StudioEntryPermissionsProvider.
  • PermissionMatrixEditor.readOnlyHintCopy-12171.test.ts: the half of the deleted BuilderLanding.environmentOverlayCopy-12171 that covered perm.readOnly.artifact.hint, which PermissionMatrixEditor still draws. No table names the organization axis; lit control that it names the environment overlay in every table; lit control that t() serves the value the extractor read, for every declared locale.
  • PackageFormDialog.newAppStep-36748.test.tsx: the three BuilderLanding.newAppDoor-36748 cases, moved onto PackageFormDialog with newApp={newAppStep(client, locale)}, mounted as the home mounted it (create mode, Studio on the new package after save): the dialog worded for an app in zh; package POST, app draft, app publish, then the Studio header names the app and 「‹ Back to app」 opens it; a taken app name refuses the confirm and writes nothing.
  • PackageCustomizationsPanel.test.tsx: the rows and counts, including the Studio 首页的定制数量不计页签排列:只有排列定制的包显示为未定制 #36833 arrangement-only case; the empty and failed states (never "0"); row and switched-off-action links; tabs, search and Show all; zh words; and the moved rows and labels io.
  • In the PackagesPage administration-face harness, two describes: "the new-package deep link" (3 cases) and "a read-only base's customizations in its detail" (6 cases: a code package draws the section with arrangements counted; an authored package does not; the development face does not; a read-only .custom pair draws none and sends no customizations request; a kernel package's detail, opened directly because the admin face lists none, draws none and sends no request; CONTROL, the same direct render of a code package draws it and reads once).
  • Unreported capability set on the doors: HomePage.noAgentsBuildChip-26614 renders Home inside the real MePermissionsProvider with an authenticated answer that carries no systemPermissions; the chip opens Setup's New Package (the fail-open). CONTROL, the same provider with a reported set holding manage_metadata alone: the chip opens /studio/~all/metadata.
  • Studio-only author on the doors outside Studio: SidebarAppMenu-36112 (「New blank app」 links to /studio/~all/metadata) and HomePage.noAgentsBuildChip-26614 (the chip navigates there, never to Setup); StudioEntryRedirect.test holds newPackageDoorPath to the same two answers.
  • SidebarAppMenu-36112 (the shared harness, new top-level describe): with build and ask, the legacy build id, ask only, other agents only, or no agent served, 「Add app」 offers new-in-studio ("New blank app", to New Package), the template and the marketplace, and never 「Build with AI」; never empty for an admitted viewer with authoring but no marketplace, or a marketplace but no authoring; CONTROL, with neither the viewer is not admitted; guard, an admitted viewer handed no entries gets no 「Add app」 and no separator. HomePage.desktopNoApps-36732: the no-apps doors are [new-in-studio, template, marketplace] with the build agent served.
  • Converted, not deleted: the StudioRoute gate, lazy-module, recent-visit and access-notice pins; studio:builder registration (now a forward); setupMetadataRedirect; studioAddress and its guard (the guard no longer names the deleted STUDIO_LANDING_PATH); the Home, sidebar 「Add app」 and /ai deep-link hrefs; the vocabulary census; consoleTopBar.height-12639; AppContent.setupMetadataStudio-28578.
Local runs at this round's heads

Rework 2, #37169's merge, head 54e4586e (after merging origin/main 4fb03ebb, K 9, and pnpm --filter '@object-ui/console^...' build, lock VERDICT command-exit 0):

  • vitest over app-shell views/studio-design, console/home, console/ai, console/__tests__, layout/, hooks/, PackagesPage* and PackageFormDialog*, plus console components/: Test Files 826 passed (826); Tests 6948 passed; lock VERDICT command-exit 0.
  • type-check @object-ui/app-shell (src + tsconfig.test.json) and @object-ui/console: exit 0. eslint on the two touched test files: exit 0.
  • Exit 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check-platform-checklist --changed-from origin/main (11 anchors, 0 lost), and under ui/ check:i18n-keys, check:i18n-drift, check:unreferenced-sources and the three vi-mock gates.
  • The full check:platform-checklist exits 1 on one finding, and origin/main 4fb03ebb fails the same way: automation.json anchors FlowItemMoreMenu.tsx#FlowItemMoreMenu, which feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 removed. That is main's to fix, not this PR's.

Rework 2 (delta L1 S1, N4, N5), head cf77ecb9 (after merging origin/main 4ed453dc, K 12, clean, and pnpm --filter '@object-ui/app-shell^...' build, lock VERDICT command-exit 0):

  • vitest over console/home, console/ai, RequireAiSurface, AppContent.setupMetadataStudio-28578, setupMetadataRedirect.test, PackageCustomizationsPanel.test, StudioEntryRedirect.test, SidebarAppMenu-36112 and hooks/: Test Files 210 passed (210); Tests 1827 passed; lock VERDICT command-exit 0.
  • Mutation through scripts/ablation-replace.mjs: useNewPackageDoorPath made to fail closed (Array.isArray(systemPermissions) && hasCapabilities(…)) → HomePage.noAgentsBuildChip-26614 4 failed / 12: the new unreported case, plus the three no-agent cases whose stub leaves systemPermissions undefined; the reported-set control stayed green. Restored to the HEAD blob, git diff HEAD empty.
  • type-check @object-ui/app-shell (src + tsconfig.test.json): lock VERDICT command-exit 0. eslint --no-inline-config on the 4 touched ui files: exit 0.
  • Exit 0: check:platform-checklist, check-platform-checklist --changed-from origin/main (4 anchored files, 11 anchors, 0 lost), check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:issue-citations, and under ui/ check:i18n-keys, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape. git grep -n "Studio landing" docs/qa/platform-checklist/areas: history entries only, plus studio-authoring.json:35 and :2290, already stale on main (the studio-home button).
  • overlap-check: exit 1, only for fix(app-shell)!: Home no longer offers Build with AI or Build an app #37249 and feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 (feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 has since landed; see Overlaps).

Third part (seat answers to N1 and N3, then #37241's and #37168's merges), final head 1c7f29cc:

  • After merging main with feat(console): the docs portal draws in an app-less variant of the app shell from 768 px up #37241 and feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 (2ae0823f) and rebuilding (VERDICT command-exit 0): views/studio-design, layout/, console/docs, console/home, console/ai, console/__tests__, hooks/, PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, console components/ and pages/, packages/i18n/src/__tests__: Test Files 1162 passed (1162); Tests 10870 passed, 13 skipped; VERDICT command-exit 0. type-check @object-ui/i18n, @object-ui/app-shell, @object-ui/console: VERDICT command-exit 0. Exit 0 at this head: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:i18n-stale-fill, check:keyed-text-bounds, check:platform-checklist, check:issue-citations, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check-platform-checklist --changed-from origin/main, and under ui/ check:i18n-keys, check:i18n-drift, check:unreferenced-sources, check:phantom-deps, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape.
  • After a fresh closure build (VERDICT command-exit 0): layout/, console/home, console/ai, RequireAiSurface, hooks/, StudioEntryRedirect*, notFound-26708, console StudioRoute*: Test Files 376 passed (376); Tests 3153 passed; VERDICT command-exit 0.
  • Mutation through scripts/ablation-replace.mjs: useNewPackageDoorPath forced to the Setup path (true || hasCapabilities(…)) → 2 failed / 43, exactly the two Studio-only door cases; restored to the HEAD blob, git diff HEAD empty.
  • type-check @object-ui/app-shell and @object-ui/console: VERDICT command-exit 0. eslint on the 7 touched files: 0 errors. Exit 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, and under ui/ check:i18n-keys, check:i18n-drift, check:unreferenced-sources, check:phantom-deps, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape.

Second part of the round (the 「Add app」 rulings, then three main merges), head 64e7071b:

  • At 048a5a84 (rulings + first merge): layout/, console/home, console/ai, RequireAiSurface, hooks/, packages/i18n/src, PackageCustomizationsPanel, console StudioRoute*: Test Files 486 passed (486); Tests 5161 passed, 13 skipped; lock VERDICT command-exit 0.
  • At fe78cd2b (after fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185's merge), the overlap: views/studio-design, layout/, console/home, console/ai, console/__tests__, PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, sameServerFetch* (fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185's ratchet), apps/console/src/components, packages/i18n/src: Test Files 1 failed, 888 passed (889); Tests 2 failed, 8291 passed. The failures were two cases of layout/__tests__/designModeMenuSave-36363, a file this branch does not touch; run alone it read 47 passed (47), and it passed again in the run below, so it was load in the big run.
  • At 45e4a5eb (after fix(console): on a desktop the way-home controls name the app start page, and the pill drops its duplicate All apps row #37204's merge and a rebuild): apps/console/src/components, layout/, console/home, console/ai, RequireAiSurface, packages/i18n/src/__tests__: Test Files 436 passed (436); Tests 4837 passed, 13 skipped; lock VERDICT command-exit 0. (A first attempt at this run hit a 590 s cap before its verdict and is not counted.)
  • Mutation checks through scripts/ablation-replace.mjs (blob moved, restored to the HEAD blob, git diff HEAD empty): the hook's entry key back to build-with-ai → SidebarAppMenu-36112 7 failed / 32; the empty-list guard removed (offerAddApp = mayAddApp) → 1 failed / 32, the guard case.
  • CI on 45e4a5eb failed Type Check UI at check:i18n-keys: Home's chip kept defaultValue: 'New in Studio' against the new en value. Fixed at 64e7071b with the chip's default and the eight packs (check:i18n-drift); locally at 64e7071b, exit 0: check:i18n-keys, check:i18n-drift, and the job's other static steps (check:phantom-deps, check:self-import, check:unreferenced-sources, check:doc-example-readers, check:side-effects-array, check:spec-symbols, check:icon-record-names, check:designer-field-key-parity, check:action-forward-parity, check:esm-specifiers, check:handler-key-reads, check:metadata-write-doors, check:control-bytes, check:shell-escape-residue, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:test-path-roots, check:prompt-keys), plus check:keyed-text-bounds and check:i18n-stale-fill. Vitest over packages/i18n/src, console/home, console/ai, RequireAiSurface, SidebarAppMenu-36112: Test Files 213 passed (213), Tests 2745 passed, 13 skipped, lock VERDICT command-exit 0.
  • type-check at 45e4a5eb after pnpm --filter '@object-ui/console^...' build (VERDICT command-exit 0): @object-ui/i18n, @object-ui/app-shell (src + tsconfig.test.json), @object-ui/console passed, VERDICT command-exit 0. eslint --no-inline-config on this part's 6 ui files: 0 errors.
  • Gates at 45e4a5eb, all 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:i18n-stale-fill, check:keyed-text-bounds, check:platform-checklist, check:issue-citations, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check-platform-checklist --changed-from origin/main (11 anchors, 0 lost). pnpm --filter @object-ui/i18n gen:zh-hant after the merges: every target already current.
  • 18.6.0 studio-namespace comparison at fe78cd2b, unchanged: 71/71 published landing keys present in en and zh; 35 missing, all already missing on main; 0 values changed vs main, 4 never-released keys removed, 38 added.

First part of the round (L1 and contract-review fixes):

  • Targeted vitest at 4121473e (after the first main merge, K 26), one locked run over apps/console/src, packages/i18n/src, views/studio-design, metadata-admin/PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, console/__tests__/AppContent*, console/home/__tests__/HomePage* and layout/: Test Files 1 failed, 1050 passed (1051); Tests 1 failed, 10456 passed, 13 skipped. The failure was the moved new-app pin's own harness (it navigated to the bare package path, which only the console route table expands); fixed at 4121473e by landing on the package's Studio home as the removed home did, then 3 passed (3).
  • After the second main merge (df4a65cb) and the guard fix (329ddefc), the overlap re-run under the lock: views/studio-design, apps/console/src/components, PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, packages/i18n/src, consoleTopBar*, AppContent*: Test Files 594 passed (594); Tests 6016 passed, 13 skipped; lock VERDICT command-exit 0.
  • Mutation checks, each through scripts/ablation-replace.mjs (anchor 1 → 0, blob verified moved, restored to the HEAD blob with git diff HEAD empty), at 4121473e:
    • 「组织」 written into the zh perm.readOnly.artifact.hint: PermissionMatrixEditor.readOnlyHintCopy-12171 1 failed / 3 ("no table names the organization axis").
    • !isKernel removed from the detail gate (PackagesPage.tsx:1271): 1 failed / 6, the kernel case only.
    • !isCustomizationPackage(id) removed: 1 failed / 6, the .custom pair case only.
    • The bookmark forward reverted to SETUP_NEW_PACKAGE_PATH: StudioEntryRedirect.test 1 failed / 11, the Studio-only bookmark case.
    • The not-found exit reverted to SETUP_PACKAGES_PATH: notFound-26708 1 failed / 14, the Studio-only case.
      No dist leg was needed: these tests import app-shell by relative path, and the ui vitest config aliases @object-ui/i18n to its src.
  • type-check at 329ddefc after pnpm --filter '@object-ui/console^...' build (lock VERDICT command-exit 0): @object-ui/i18n, @object-ui/app-shell (src and tsconfig.test.json, which lists all six new or changed test files) and @object-ui/console passed, lock VERDICT command-exit 0.
  • eslint --no-inline-config on this round's 11 changed ui files: 0 errors, 15 warnings.
  • Gates at 329ddefc, exit captured before any pipe, all 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:i18n-stale-fill, check:keyed-text-bounds, check:platform-checklist, check-platform-checklist --changed-from origin/main (11 anchors, 0 lost). At 4121473e, also 0: check:issue-citations, check:doc-authoring, check:gitlink-declared, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration (2 non-breaking changesets), check-closing-keyword-parity, check:changeset-gate-self-tests, and the edited ui/scripts/check-eager-closure-budget.mjs's tests (6 files, 305 passed). check:i18n: PREREQUISITE NOT MET locally (the CLI build closure is not built); it reads the platform translation bundles, which this round does not touch; its evidence is CI. dispatch-gates --ran: 57 of 74 derived families not run locally, declared; their evidence is this head's check-runs.
  • i18n against the published @object-ui/i18n@18.6.0 (npm pack, read by AST, nothing evaluated), on the merged tree: all 71 published engine.studio.landing* keys are present in en and zh; 35 published keys are missing at this head and all 35 are already missing on origin/main; against origin/main this PR changes 0 values, removes exactly the four never-released keys, and adds 38 per language (engine.packages.customizations.*, engine.studio.notFound.packageList, engine.studio.notFound.allMetadata).

Acceptance notes

Verification

Walked on a live stack at a21c7b6f (the previous head). Server: pnpm -C examples/app-showcase exec objectstack dev --seed-admin -p 4710 (CLI and showcase closure built in a worktree). Console: this branch's ui/apps/console under Vite on 4711, proxied to it. Signed in as the seeded admin and driven with Playwright; key screens confirmed by screenshot.

Entry Observed
/studio, nothing remembered → /apps/com.objectstack.setup/component/developer/packages?face=admin
/studio?new=package (old bookmark) → same page, new=package dropped, New Package dialog open
/apps/setup/component/automation/packaged-actions (no package) → Setup → Packages (admin face)
/studio/no_such_pkg_36908 「Package not found…」 with 「Open the package list」 → Setup → Packages
ObjectStack Showcase (code) row → detail "Customizations in this environment", "No changes in this environment yet", Customize in Studio → /studio/com.example.showcase/data
/studio after visiting that package → back into /studio/com.example.showcase/data… (remembered)
Sidebar app menu → 「Add app」 New in Studio (the label at a21c7b6f; 「New blank app」 now) → …packages?face=admin&new=package; clicked, it lands there with the dialog open
/ai (no assistant on this stack) 「New in Studio」 (the label at a21c7b6f; 「New blank app」 now) → …packages?face=admin&new=package
New Package dialog → Create package → /studio/com.default.walk-pkg-36908/data
That authored package's detail no customizations section (count 0); Open in Studio present
/studio/~all/metadata renders the All Metadata Types area

Not walked live, each pinned by unit tests:

  • Home's 「New blank app」 chip (「New in Studio」 at a21c7b6f): its condition does not hold on this seeded stack (HomePage.noAgentsBuildChip-26614, HomePage.desktopNoApps-36732).
  • A non-administrator's landings (bare /studio, the old bookmark and the not-found button for a Studio-only principal): no such principal is seeded (StudioEntryRedirect.test.tsx, StudioDesignSurface.notFound-26708); their target ~all renders above.
  • studio:builder: the @objectstack/studio app does not load on a stock boot (registerStudioComponents.builderLazy-11798).

This round's changes were not walked live: the Studio-only exits, the moved pins and the changesets change no administrator-visible entry above; the 「Add app」 menu's new contents (no 「Build with AI」, 「New blank app」 always) and the relabel are pinned in SidebarAppMenu-36112 and HomePage.desktopNoApps-36732.


Generated by Claude Code

Studio's entry no longer draws the package-card home: it opens the package
the author was last in, else Setup > Packages (or the All metadata area for
a principal who may not open it). The console's new-package doors land on
Setup > Packages with New Package open (?new=package on the admin face), and
the not-found state and the retired Setup redirects that name no package
land on the package list. WIP: the BuilderLanding page and its tests are not
deleted yet.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
The StudioRoute pins now stub the entry instead of the package-card home;
the two files that pinned only the home's console frame (its header crumb
and its command palette) are deleted; studio:builder's registration test
reads the forward to /studio; the not-found pin opens Setup > Packages.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Setup > Packages' admin face now owns that deep link, pinned in the
PackagesPage administration-face harness.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
…Packages

BuilderLanding, its tests and its dead engine.studio.landing.* strings
are deleted. A read-only base's detail on Setup > Packages' admin face
now draws what this deployment changed on it (the home's per-app line
and Customizations panel), counting tab arrangements as customizations,
with a Customize in Studio link. Stale references are re-pointed.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/platform-objects, touching 1 documentable anchor(s).

1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/permissions/authorization.mdx (via /studio/:packageId/:tab (route, a path literal in a comment in navigation))
What this run could not see

Coarse fallback — 3 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 08bf7d2a41a754c601af90281446acf38c3169ec → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 00c64454f883d25f70fb5f463b378d8c6012e781 — the merge of head 54e4586edffc4227ca75e2bf69adad4131d510d6 into base 08bf7d2a41a754c601af90281446acf38c3169ec, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 00c64454f883d25f70fb5f463b378d8c6012e781 && git checkout 00c64454f883d25f70fb5f463b378d8c6012e781
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 08bf7d2a41a754c601af90281446acf38c3169ec 54e4586edffc4227ca75e2bf69adad4131d510d6 && git checkout -B drift-repro 08bf7d2a41a754c601af90281446acf38c3169ec && git merge --no-ff 54e4586edffc4227ca75e2bf69adad4131d510d6

node scripts/docs-audit/affected-docs.mjs --json 08bf7d2a41a754c601af90281446acf38c3169ec

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 08bf7d2a41a754c601af90281446acf38c3169ec → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…nd pin

check:test-source-alias: the pin reaches import('@object-ui/plugin-detail')
through the command palette; the home-loop pin is left as main has it.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
…ensus

The census listed StudioRoute.tsx as a literal copy of the bar; that frame
went with the Studio home. Five frames remain, all token or AppShell.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoTgerzGuKa8DDrMii
68 of the deleted engine.studio.landing keys and landingHome ship in
@object-ui/i18n 18.6.0; removing a published key is a narrowing. They
return to en and zh unread. The four never released stay removed.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoTgerzGuKa8DDrMii
…tup > Packages

The retired page's no-package fallback opened the Studio home; with that
home removed it opens the package list on the admin face. The pin still
expected /studio. The named-package case is unchanged.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoTgerzGuKa8DDrMii
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for L1 · 2026-11-25T02:41Z · a21c7b6ff · zone a4-S (#36908)

  • CI on a21c7b6ff: 61 success, 12 skipped (path filters, opt-in and queue jobs), 0 failed.
  • Size: +1,610 / −5,318. That is Tier H by size under ruling 7145880574. After L1 and a same-head contract review PASS, seat 4 hands it to the maintainer. The zone does not ready, queue or arm it.
  • os-dev reports: Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 comments 7142300468 (round 1, stopped at the 3,000 line), 7149154327 (hand-off at the move to cloud) and 7150638739 (final, cloud session session_01QSeKYoTgerzGuKa8DDrMii).
  • i18n: 68 of the 72 engine.studio.landing.* / landingHome keys the earlier round deleted ship in the released @object-ui/i18n@18.6.0, measured on the packed tarball. All 68 are restored, unread. The 4 that never shipped are removed.
  • Walk-through: every reachable moved entry was walked on a live showcase stack (PR body, Verification). Not walked live:
    • Home's 「New in Studio」 chip: its condition does not hold on the seeded stack.
    • A non-admin's /studio landing: no such user is seeded.
    • studio:builder: the studio app does not load on a stock boot.
      Each of these has unit pins.
  • Open question for the maintainer, from the dev: with an AI build surface served, 「Build with AI」 (useAddAppEntries, HomePage:981) still targets bare /studio, which now opens the last package or Setup → Packages. The dev recommends A: leave it, because that entry was never on the home and a different target is a separate product card.
  • The dev declared deviations: edits in its own container's primary checkout before moving to a worktree (nothing lost, both trees clean), and a narrowed local gate run that leaves the full farm to CI.
  • Overlaps declared: feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 and feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 conflict with this branch in the deleted BuilderLanding.* tests, StudioDesignSurface.notFound-26708 and the studio en/zh namespaces. Whichever lands second merges main.
  • Clause-②: no · Metadata-protocol: none.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: a21c7b6ff4c648c77d903f75713871acba2750b9
Local-runs: none
Scope: the whole diff, all 82 paths of git diff 1f3e9f68e703..a21c7b6f. Reviewed: .changeset/36908-remove-studio-home.md, ui/packages/app-shell/src/index.ts, views/studio-design/StudioEntryRedirect.tsx + .test.tsx, studioNewPackage.ts, studioAddressTable.ts, studioAddress.test.ts, setupMetadataRedirect.ts + .test.ts, PackageSwitcher.tsx, packages-io.ts, StudioDesignSurface.tsx + .notFound-26708.test.tsx, PackageCustomizationsPanel.tsx + .test.tsx, packageCustomizationRows.ts (renamed from landingCustomizations-io.ts), views/metadata-admin/packageSource.ts, PackagesPage.tsx + PackagesPage.installedAppsUpdates-34722.test.tsx, console/home/HomePage.tsx, console/ai/AiUnavailable.tsx, hooks/useAddAppEntries.ts, ui/apps/console/src/components/StudioRoute.tsx + its five converted pins, studioBuilder.ts, registerStudioComponents.tsx + registerStudioComponents.builderLazy-11798.test.tsx, AppContent.tsx, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts, ui/packages/i18n/src/locales/en.ts, packages/platform-objects/src/apps/studio.app.ts. The deleted BuilderLanding.* (15 files), LandingCustomizationsPanel.tsx, fetchInstalledPackageRow-7881.test.ts, StudioRoute.landingI18n and StudioRoute.searchPalette-11863 were checked for exports, routes and pins only. Read, not reviewed: BuilderLanding.tsx and studioNewPackage.ts at the merge base, context/RecentItemsProvider.tsx, apps/console/src/components/studioEntry.ts, packages/platform-objects/src/apps/setup-nav.contributions.ts, packages/rest/src/package-routes.ts, the four package.json files, .changeset/config.json, and the published @object-ui/i18n@18.6.0 tarball from the npm registry

Full review of this head, made without the L1's conclusions. Inputs:

  • git diff 1f3e9f68e703..a21c7b6f, against the merge base with origin/main: 82 files, +1,610 −5,318.
  • The files at this head, the PR body's declaration lines, and the published @object-ui/i18n@18.6.0 tarball.
  • The 73 check-runs on this head: 61 success, 12 skipped, 0 failed or pending.

The recogniser decides no face from the paths and defers to the changeset. The changeset reads Clause-②: no with no arm, so this is the declaration face at TIER_DEFAULT. The review is owed because the PR is Tier H by size. git merge-tree --write-tree origin/main a21c7b6f exits 0 against origin/main 3b4f0b9.

① Derived judgments

Published @object-ui/* exports and types: none moved.

  • Every source change outside i18n is in @object-ui/app-shell, which is "private": true. That covers the dropped BuilderLanding, STUDIO_NEW_PACKAGE_PATH, STUDIO_LANDING_PATH, fetchInstalledPackageRow, StudioBuilderLoading and LandingCustomizationsPanel, and the new StudioEntryRedirect and SETUP_PACKAGES_PATH barrel exports.
  • The published @object-ui/console maps exports["."] to plugin.js / plugin.d.ts only, and plugin.ts is not in the diff. studioBuilder.ts and registerStudioComponents.tsx are bundled SPA code.
  • @object-ui/i18n's namespace modules are typed as a string-to-string record, so their type surface is unchanged.
  • At this head, git grep finds no reference to any removed symbol outside CHANGELOGs, except two stale mentions (N4).

i18n, checked against the released tarball. I read dist/namespaces/studio/{en,zh}.js from @object-ui/i18n@18.6.0 by AST and compared it with the base and head src/namespaces/studio/{en,zh}.ts, without evaluating either.

  • 18.6.0 ships 70 engine.studio.landing.* keys plus engine.studio.landingHome, 71 in total, in both en and zh.
  • All 71 are present at this head in both languages. Their values are byte-equal to the merge base: the PR changes no existing key's value.
  • Three of the 71 are still read by PackagesPage.tsx: dupDefaultName, dupNamePlaceholder and dupIdPlaceholder.
  • The other 68 have no reader at this head, including any template-key read. The zone's "68 shipped keys kept and unread" holds.
  • The PR removes exactly four keys: engine.studio.landing.manage, .manageTitle, .allPackages and .allPackagesTitle. They are in en and zh at the base, are absent from the 18.6.0 tarball, and have no reader at this head. The zone's "4 never-shipped keys removed" holds.
  • The PR adds 37 keys to each language: 36 engine.packages.customizations.* and engine.studio.notFound.packageList. Every key the new panel and the not-found action read is among them.
  • The locales/en.ts and makerEmptyState-v1-scope-8329.test.ts hunks change comments only.
  • Outside this diff, not graded: 35 other keys in the 18.6.0 studio namespace are already missing at the merge base and on origin/main. Examples are engine.studio.openApp* (removed by Studio 左上角改成「‹ 返回应用」加应用名;去掉首页图标、应用切换和右上角的「打开应用」(外壳专题第 12 项,设计板图 47) #36501, cd51dbbbcf4) and engine.studio.owd.save* (removed by feat(studio): every human editor saves live; an item's unpublished AI changes can be dropped on its page (#36511, PR 3 of 3) #36652, 9fa05c63b4a). This PR neither causes nor worsens that.

Routes and bookmarks. Each is judged against what the retired home read at the merge base. That home read one query param, new=package, and nothing else.

  • Bare /studio and /studio/ now go through StudioEntryRedirect. It picks the newest remembered package that the package list still names, or the newest one if the list read fails. Otherwise it goes to studioEntryFallbackPath: Setup → Packages for a holder of setup.access + manage_platform_settings, and /studio/~all/metadata for anyone else.
    • The gate's capability set reaches the entry through StudioEntryPermissions. StudioRoute.test.tsx pins that with toHaveBeenCalledWith(OPERATOR_CAPS).
    • Each branch has a case in StudioEntryRedirect.test.tsx.
  • /studio?new=package goes to SETUP_NEW_PACKAGE_PATH, whatever is remembered. PackagesPage opens New Package on the admin face and drops the param with a replace. It drops the param without opening anything on the development face.
    • Each half fails on revert. Without the forwardNew branch, the bookmark case lands on /studio/com.acme.crm. Without the PackagesPage effect, the deep-link describe goes red.
    • A Studio-only principal is not handled (S1).
  • Any other query on bare /studio, such as the old packagedActionsStudioPath output /studio?package=all, is dropped and goes through the entry. The old home read none of them, so nothing it honoured is lost.
  • studio:builder (/apps/APP/component/studio/builder) forwards to /studio with a replace. This is pinned in builderLazy-11798, which shows that a revert to the old lazy landing no longer reaches the /studio route.
  • packagedActionsStudioPath with no package or package=all now goes to SETUP_PACKAGES_PATH. A named package is unchanged.
    • The converted table cases fail on revert. The PR's ablation shows 2 of 84 failing.
    • AppContent.setupMetadataStudio-28578 pins the same thing through the real route.
  • The not-found action now goes to Setup → Packages, on the admin face. Pinned in notFound-26708, which fails on revert because the old /studio route is gone from its harness. A Studio-only principal is not handled (S1).
  • AppContent's ObjectRedirect / SystemCatalogRedirect fall back to SETUP_PACKAGES_PATH only when setupMetadataStudioPath returns null. For object and the two catalog types, that does not happen at this head.

api-surface baselines. The only baselines are packages/spec/api-surface*. The diff touches nothing in packages/spec, so no baseline is owed.

Accept sets. No schema, spec or authorable key moves. studio.app.ts and the CLI integration test change only comments. The route table keeps every segment; the /studio index changes what it draws, not which addresses it accepts.

S1 (should-fix) — the capability split this PR draws for bare /studio does not reach two of the other exits that name no package.

  • StudioEntryRedirect returns Navigate to={SETUP_NEW_PACKAGE_PATH} for ?new=package before it reads systemPermissions. So a principal holding studio.access without setup.access or manage_platform_settings is sent to the Setup page that studioEntryFallbackPath exists to keep them away from.
  • At the merge base, that same address opened PackageFormDialog inside Studio, and creating a package there needs only manage_metadata (package-routes.ts).
  • The not-found action calls shellNavigate(SETUP_PACKAGES_PATH) with no capability check. A Studio-only principal who opens a stale /studio/ID is offered a way out that leads to a page they cannot open.
  • The only bookmark case renders with ADMIN, so neither branch is pinned for the other class.
  • Fix:
    • Send ?new=package from a non-holder to studioEntryFallbackPath(systemPermissions).
    • Give the not-found action the same choice, for example by reading the gate's set through a hook that app-shell exports.
    • Pin both with a Studio-only case beside an admin CONTROL in StudioEntryRedirect.test.tsx and notFound-26708.

N1 (nit) — recents are read localStorage-first, and the server copy arrives after first render (RecentItemsProvider).

  • On a device with no local copy, StudioEntryRedirect sees no remembered package and redirects to the fallback before that copy arrives. "Opens the package you were last in" holds only on a device that already has the copy.
  • No test pins either behaviour.

N2 (nit) — the panel gate !authoring && !writable && !isKernel && !isCustomizationPackage(id) is pinned for a code package, an authored package and the development face. The kernel exclusion and the .custom exclusion have no case. !writable already covers a writable pair, so the gap is narrow.

N3 (nit) — on the declaration line, the PR adds 37 keys to the published studio namespace. On main, such additions are declared both Clause-②: yes (widening) (for example the engine.studio.newApp.* changeset) and Clause-②: no (#36501, #36901, #35018). This PR is in line with the second group. The choice changes neither the bump nor the review owed, since Tier H owes it anyway.

N4 (nit) — two stale mentions remain:

  • studioAddress.guard.test.ts:55 still allow-lists STUDIO_LANDING_PATH, which no longer exists.
  • The check-eager-closure-budget.mjs:920 docblock still names BuilderLanding as lazily loaded. That is a historical comment, but it now names a deleted module.

② Semver level

All four entries take patch. The changeset and the PR body both carry the declaration lines at line start: Clause-②: no and Metadata-protocol: none.

  • Metadata-protocol: none holds: no metadata author can write anything new or different, and none takes patch (AGENTS.md, Post-Task Checklist step 3).
  • Clause-②: no holds for the narrowing arm, because no published key, export or prop is removed or renamed. The widening question is N3.
  • @object-ui/i18n: patch is right. The change adds keys and removes only keys that were never released.
  • @object-ui/console: patch: its SPA bundle changes and its published entry does not.
  • @object-ui/app-shell: patch is private, and @objectstack/platform-objects: patch changes a comment only. Both are permitted.
  • No BREAKING banner, migration mapping or ADR-0087 marker is owed.
  • The changeset's claims about exports and keys are true at this head. Its redirect sentence for /studio is true. Its sentence for the old ?new=package bookmark is true for an administrator only (S1).

③ Boundary flags

Implemented-by: claude/issue-36908-remove-studio-home
Reviewed-by: fresh subagent of session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head a21c7b6ff4c648c77d903f75713871acba2750b9 · 2026-11-25T02:57Z

Open

Gates.

  • Check-runs at this head: 61 success, 12 expected skips, 0 failed. Both Lint & Repo Gates and TypeScript Type Check succeeded.
  • Clause-②: no holds: no published key is removed, and app-shell is private. Metadata-protocol: none holds. No Skills-docs line is owed. All four packages take a patch bump, which is right.
  • K = 26. The PR is not stale against main: the merge is clean, CI's base is 4 commits behind main, and none of those commits touches a Studio, i18n or Packages file. The merged tree still refers to nothing this PR removes, apart from the N4 names.
  • feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 conflicts in the studio en/zh files and in notFound-26708. Whichever PR lands second merges main and runs the 18.6.0 key comparison again.

Next: fix S1–S6 and the nits, and have the maintainer rule on 「Build with AI」. The seat then reviews the changes on the new head and runs a same-head contract review before handing the PR to the maintainer.

  • Contract review at this head: 7151294694 (TIER_DEFAULT): PASS with one should-fix. Fix it in the same round. The old /studio?new=package bookmark and the "package not found" button both send everyone to Setup → Packages. They skip the permission check this PR added for bare /studio, so a user who can enter Studio but cannot open that Setup page lands on a page they can't open. Route both through the same check, and add a test for that user.
  • 「Build with AI」 → bare /studio: the seat is putting this to the maintainer with the measured behaviour. Leave the target as is in this round. If the ruling changes it, it is a one-line follow-up.
  • Next: one patch round for S1–S6 and the contract review's should-fix, then merge main (K 26). After that the seat reads the delta, runs a delta contract review, and hands the PR to the maintainer. It is Tier H by size (6,928 lines), so it does not self-land.

…d not-found exit to All metadata

The retired /studio?new=package bookmark and the package-not-found state's
way out both sent every principal to Setup > Packages. A principal who may
enter Studio but not open that Setup page landed on its access-denied page.
Both now read the capability set Studio's entry gate read, through a provider
app-shell exports, and choose the same way bare /studio does.

Also: the permission matrix's read-only hint copy pin moves off the deleted
Studio-home test; the new-app step's three cases move onto PackageFormDialog;
the Packages detail gate gets its kernel and .custom cases; the changeset is
rewritten in user terms with the i18n note in its own changeset; stale names
of the removed home are corrected.

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Notify: landed (2026-11-25T08:46Z). PR #37241 (#37197, the docs portal's app-less shell) has merged.

For zone a4-S, per the seat's ordering, this PR lands second. Merging main will meet:

  • a conflict in ui/packages/app-shell/src/layout/SidebarAppMenu.tsx;
  • the docs-portal head menu SidebarDocsPortalMenu, which now renders <AddAppSubmenu /> gated by useMayAddApp. This PR changes AddAppSubmenu's signature, so carry its entries / offerAddApp rule onto that docs-portal call site as well. Its pins are in the SidebarAppMenu-36112 docs-portal block.

The earlier StudioRoute resolution (7153261562) still stands.

… access to All metadata

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
…move-studio-home

# Conflicts:
#	ui/packages/app-shell/src/layout/SidebarAppMenu.tsx
#	ui/packages/app-shell/src/views/metadata-admin/PackageFormDialog.newAppStep-36748.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.customizationCounts-28566.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.envCustomizations-34714.test.tsx
#	ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.notFound-26708.test.tsx
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1c7f29cc53c31ba99c6488176314c229305de049
Local-runs: probe — the delta L1's pin ablations: vitest on the pinned app-shell and console suites in a throwaway worktree at this head (baseline 72 files, 607 tests, green), eleven single-site mutations each restored, and check:i18n-keys / check:i18n-drift with the en and zh-Hans label put back (worktree clean after, removed)
Scope: none (no reviewFace hits: no published schema and no governed path; record-recognisers.mjs --paths on the 99 files decides no face and defers to the changeset's Clause-②: no, which carries no (narrowing) arm) + .changeset/36908-remove-studio-home.md, .changeset/36908-studio-home-strings.md, the PR body's two declaration lines, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts, the eleven ui/packages/i18n/src/locales/*.ts packs, ui/packages/app-shell/src/index.ts, hooks/useAddAppEntries.ts, hooks/useNewPackageDoorPath.ts, layout/SidebarAppMenu.tsx, console/home/HomePage.tsx, console/ai/AiUnavailable.tsx, views/studio-design/studioEntryPermissions.ts, StudioEntryRedirect.tsx, StudioDesignSurface.tsx, setupMetadataRedirect.ts, views/metadata-admin/PackagesPage.tsx, ui/apps/console/src/components/StudioRoute.tsx, packages/platform-objects/src/apps/studio.app.ts. Read, not reviewed: ui/apps/console/src/components/studioEntry.ts, ui/packages/permissions/src/MePermissionsProvider.tsx, hooks/useCanAuthorMetadata.ts, packages/rest/src/package-routes.ts, packages/platform-objects/src/apps/setup-nav.contributions.ts, and the @object-ui/i18n@18.6.0 tag

Same-head review of the delta since record 7151294694 (head a21c7b6f), and of the whole declaration again at this head. The diff against the merge base 7939732f is 99 files, +2,236 −5,191. Check-runs on this head: 73, of which 61 success, 12 skipped, 0 failed. git merge-tree --write-tree origin/main is clean against 4ed453dc (K 12).

① Derived judgments

Released translation keys: none removed. Measured on the @object-ui/i18n@18.6.0 tag against this head and the merge base.

  • Studio namespace, en and zh: all 71 released engine.studio.landing* keys are present at head.
  • 35 released keys are missing at head. All 35 are also missing at the merge base, so this PR removes none of them.
  • Against the merge base the PR removes exactly four keys: engine.studio.landing.manage, .manageTitle, .allPackages, .allPackagesTitle. None is in the tag.
  • It adds 38 keys per language and changes 0 existing values in the namespace.
  • The eleven locale packs change one value each, home.build.inStudio, and no key. Ruling 7153400210 names this a value change, not a removal. home.buildWithAI is kept and still read by Home's drawer button.
  • So Clause-②: no holds, and neither Clause-②: yes (narrowing) nor a 「Removed translation keys」 list is owed under the 19.0.0 ruling.

Published exports and types: none moved.

  • @object-ui/app-shell is private: true. Its barrel gains StudioEntryRedirect, StudioEntryPermissionsProvider, useStudioEntryPermissions and SETUP_PACKAGES_PATH, and loses BuilderLanding.
  • @object-ui/console's published entry (plugin.ts) is not in the diff.
  • @objectstack/platform-objects and packages/cli change comments only.
  • The merged tree with origin/main names none of the removed symbols.

Routes and bookmarks, the delta.

  • The old /studio?new=package bookmark and the package-not-found button now choose by setup.access + manage_platform_settings. This closes the prior record's S1.
  • The new-package doors outside Studio make the same choice through useNewPackageDoorPath.
  • Each is pinned and fails on revert, re-run here:
    • doors forced to Setup: 3 red;
    • bookmark forced to Setup: 2 red;
    • not-found exit forced to Setup: 1 red;
    • fallback ignoring the pair: 5 red.
  • No address the removed home honoured is dropped. The retired packaged-actions page with no package named now opens Setup → Packages, as declared.

Rulings.

Merges. All six merge commits were compared with git merge-tree --write-tree of their parents. Two are conflict-free with equal trees. The other four differ from it only in their conflicted files, plus one explained line in 2ae0823f (PackageCustomizationsPanel.test.tsx:188, the address #37168 moved).

② Semver level

  • All four entries take patch, across two changesets. Both carry Clause-②: no and Metadata-protocol: none at line start, as the PR body does.
  • Metadata-protocol: none holds: no route, door or wire shape changes, and nothing a metadata author can write changes.
  • @object-ui/i18n: patch is right: keys are added, one value is relabelled, and only never-released keys are removed.
  • @object-ui/console: patch: its bundle changes and its published entry does not. @object-ui/app-shell is private. @objectstack/platform-objects: patch covers a comment.
  • No BREAKING banner, migration mapping or ADR-0087 marker is owed.
  • Each changeset sentence was read against the code and holds at this head. One sentence ("an app whose only change is a tab arrangement shows as customized") describes the count that 「已定制」有两种算法:Setup 详情计入排列调整,全部元数据页头和列表筛选不计 #37236's ruling B will change; it is true at this head.

③ Boundary flags

  • The prior record's items: S1 closed (above). N2 closed: the kernel and .custom pair cases exist, and removing either gate term turns its case red. N4 closed: the address guard's fixtures and the closure-budget docblock no longer name removed symbols. N1 and N3 are declared and unchanged.
  • The dev's three reports this round (7153865833, 7157253859, 7160263688):
    • Deviations answered: late-arriving seat messages taken as the round's continuation; one red Type Check UI at 45e4a5eb from an unrun check:i18n-keys, fixed at 64e7071b; the relabel reaching Home's default and eight more packs, which the two i18n gates require.
    • security_findings is none in all three.
    • Open question on features.aiStudio false: kept inside the authoring gate, which matches the ruling's "for a viewer who may build".
    • Open question on fail-open: answered in ④.
  • SQL push-down: no server or query code is in the diff. useNewPackageDoorPath reads the session's capability answer already loaded. No new id materialisation and no in-app join.
  • Permission gates: the Studio entry gate and the package routes are unchanged. The new capability reads pick link targets only.
  • Outside this review's faces: the delta L1 at this head holds one open item of its own, S1 there, on two platform-checklist texts. It is a docs matter and does not move a declaration line, a bump or a key.

④ Design judgment

The doors fail open where the capability set was never reported. Recommendation: A, keep it.

  • What the code does. useNewPackageDoorPath asks usePermissions().hasCapabilities, which answers true when systemPermissions is absent. On such a deployment every author's door points at Setup's New Package.
  • Safe. The door is a link. Creating a package is refused by POST /api/v1/packages without manage_metadata (package-routes.ts:102-106), and Setup's Packages entry is served under manage_platform_settings (setup-nav.contributions.ts:76). The door grants nothing the server guards.
  • Consistent. The doors are drawn under useCanAuthorMetadata, which fails open on the same missing answer for the stated reason: hiding a permitted user's control on missing client data is the worse failure. A target that fails closed under a door that fails open would be two doctrines on one control.
  • B is worse where it applies. B sends an unreported set to /studio/~all/metadata. Studio's route gate denies an unreported set (holdsStudioAccess(undefined) is false). So on that deployment B sends every user, the real administrator included, to a refusal, while A sends them to a page whose own gates also fail open and whose writes the server decides.
  • No conflict inside Studio. studioEntryFallbackPath(undefined) reads "no answer" as holding nothing, but that branch is not reachable with an unreported set: RequireStudioAccess mounts the provider only after admitting a reported array.
  • The same branch is taken when permission resolution throws and the endpoint answers without systemPermissions. The result is the same: a link to Setup, and the server decides.
  • N1 — no case pins the doors' unreported-set branch; both harnesses stub the pair's answer. One case with no reported set, expecting Setup's New Package, would hold A.
  • N2 — a principal holding studio.access and manage_metadata without the Setup pair has no screen that creates a package at this head: 「New blank app」 opens All metadata, which has no New Package. The server still admits the create. This follows ruling N1 (a) and waits for 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 and Studio 重构后续:顶栏应用名右侧加「⋯」软件包菜单(编辑信息、导出、复制、还原、收编散落项、在设置中管理);「导入」放到「设置 > 软件包」页头 #37139; the changeset says where the door goes, not that nothing there creates.

Implemented-by: claude/issue-36908-remove-studio-home
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head 1c7f29cc53c31ba99c6488176314c229305de049 · 2026-11-25T12:13Z

This is the delta L1 on the rework of L1 7151435488 (2026-11-25T02:57Z, head a21c7b6f), for card #36908. Since that head there are nine commits of this PR's own and six merges of main. The diff is 99 files, +2,236/−5,191 = 7,427 lines, so it is Tier H by size (ruling 7145880574). One item is open, and it is a docs-only fix: two active checklist items still describe the Studio home this PR removes.

Open

  • S1 (should-fix) — Two active platform-checklist items assert behaviour this PR removes, and the PR re-points neither. The PR did re-point two other items, so the checklist is in its scope.
    • automation.setup-packaged-automation-board (P1, revision 14):
      • Its title says both retired bookmarks land in Studio.
      • steps[1] records …/component/automation/packaged-actions with no ?package= as landing on /_console/studio.
      • acceptance[0] says the actions page lands on "the Studio landing … never on a dead Setup page".
      • At this head that address opens Setup → Packages (setupMetadataRedirect.ts:95, pinned, and walked live in the PR's own table).
    • studio-authoring.first-run-loop (P0, revision 15), steps[1]:
      • It says 'Build an app' "opens the Studio landing, where New package opens the wizard". There is no landing now: the chip opens the last package, or Setup → Packages.
      • It names the other chip 'New in Studio'. It now reads 'New blank app'.
    • studio-authoring.package-customization-counts-and-marks (re-pointed here at revision 4): its acceptance[2].verify still names the deleted BuilderLanding.customizationCounts-28566 as the pin. The pin is PackageCustomizationsPanel.test.tsx.
    • Fix: correct the three texts and add a revision entry to each of the first two items. Check: pnpm check:platform-checklist stays 0, and git grep -n "Studio landing" docs/qa/platform-checklist/areas shows only history entries and the two lines that were already stale on main (the removed studio-home button, studio-authoring.json:35 and :2289).

Prior findings

Rulings

  • 「用 AI 搭建」 removed (7153161067) — honoured at the source. useAddAppEntries has no build-with-ai entry. The only buildWithAI reader left is Home's own drawer button, which the ruling left alone. Re-run here: the entry key put back turns 13 cases red across SidebarAppMenu-36112 and HomePage.desktopNoApps-36732.
  • 「新建空白应用」 always shown (7153400210) — honoured. The entry is pushed whatever the agent catalog serves, in the app menu, the docs portal's menu and the no-apps screen. Dropping it turns the same 13 cases red.
    • It is still withheld where features.aiStudio is false, because that runtime offers no metadata authoring. The ruling says "for a viewer who may build", so this holds. The 速读 says 「总是出现」 without that limit (N3).
    • The labels are held by gates, not by the menu pins (the menu harness reads the inline default). Re-run here: the en value put back fails check:i18n-keys at all three call sites; the zh-Hans value put back fails check:i18n-drift and one i18n test.
  • 「feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 N1 (a)」 — honoured. useNewPackageDoorPath makes the entry's choice for Home's chip, the /ai door and 「Add app」.
  • 「已定制」有两种算法:Setup 详情计入排列调整,全部元数据页头和列表筛选不计 #37236, ruled B (7158100447) — not foreclosed, but not followed yet.

Open question: the doors fail open on an unreported capability set — recommendation A (keep)

  • It is safe. The door only picks a link target. POST /api/v1/packages refuses a caller without manage_metadata (package-routes.ts:102-106), and Setup's Packages entry is served under manage_platform_settings (setup-nav.contributions.ts:76). Nothing the server guards is opened.
  • It is consistent. The doors are drawn under useCanAuthorMetadata, which fails open on the same missing answer. Under B the door would still be drawn for everyone and only its target would change.
  • B is worse on the very deployment it is meant for. B's target is /studio/~all/metadata, and Studio's route gate denies an unreported set (holdsStudioAccess(undefined) is false, studioEntry.ts). B would send every user there, the real administrator included, into a refusal.
  • The in-Studio helpers read "no answer" as holding nothing, and that does not conflict: the provider is mounted only after the gate has admitted a reported set.
  • One gap: no case pins the unreported branch for the doors (N4).

Zone claims checked

Gates and shape

Nits

For the hand-off, once S1 is fixed

The packaged-actions bookmark with no package opens Setup → Packages;
'Build an app' opens the last package or Setup → Packages; the no-agent
chip reads 'New blank app'; the customizations pin is
PackageCustomizationsPanel.test.tsx; three fixtures create their scratch
package from Setup → Packages.

Claude-Session: https://claude.ai/code/session_01QSeKYoTF7Fd6aNUuvXGukP
Co-authored-by: Claude <noreply@anthropic.com>
…ability set

Home's no-agent chip, rendered inside the real MePermissionsProvider with
no systemPermissions, sends the session to Setup's New Package; a reported
set without the Setup pair sends it to All metadata (the control). The
chip's old 'New in Studio' name leaves two test titles and four comments.

Claude-Session: https://claude.ai/code/session_01QSeKYoTF7Fd6aNUuvXGukP
Co-authored-by: Claude <noreply@anthropic.com>
…move-studio-home

# Conflicts:
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.orgScope-11553.test.tsx
#	ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.notFound-26708.test.tsx
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — ACCEPT · L1 · head 54e4586edffc4227ca75e2bf69adad4131d510d6 · 2026-11-25T16:34Z

This is the delta L1 on the rework of L1 7162096230 (2026-11-25T12:14Z, head 1c7f29cc), for card #36908. It reads dev report 7165780205 and the finalized-head note 7167251623 against GitHub and the tree. Since 1c7f29cc the branch has two commits of its own (f4aa8f89 checklist, 5c1e4f26 test and comments) and two merges of main (cf77ecb9, 54e4586e). The diff against the merge base 4fb03ebb is 101 files, +2,306/−5,217 = 7,523 lines.

No must-fix, no should-fix.

  • Landing: Tier H (>3000 lines, ruling 7145880574), handed to the maintainer. The same-head contract review is the record written beside this comment; the PR stays a draft until the maintainer approves or merges.

Prior findings (L1 7162096230)

  • S1: closed. Read in f4aa8f89, and again at this head:
    • automation.setup-packaged-automation-board is at revision 15. Its title, steps[1] and acceptance[0] (clause and verify) send the packaged-actions bookmark with no ?package= to Setup → Packages. That matches packagedActionsStudioPath, which returns SETUP_PACKAGES_PATH.
    • studio-authoring.first-run-loop is at revision 16. steps[1] says 'Build an app' opens the last package or Setup → Packages, and the other chip reads 'New blank app' and opens Setup → Packages with New package open. It adds that a sign-in without the Setup pair is sent to All metadata, which creates no package.
    • studio-authoring.package-customization-counts-and-marks acceptance[2].verify names PackageCustomizationsPanel.test.tsx.
    • Three fixture lines that made a scratch package "from the Studio landing" now say Setup → Packages, each with a revision entry: automation.packaged-flow-clone-contract (14), studio-authoring.held-edit-leave-guard (12), ux-conventions.write-feedback (18).
    • git grep "Studio landing" docs/qa/platform-checklist/areas shows revision history, plus studio-authoring.json:35 and :2290. Those two describe the studio-home button, which main already removed.
    • check-platform-checklist --changed-from origin/main exits 0 here (4 anchored files, 11 anchors, 0 lost). One sentence in the first item was missed; it is N7 below.
  • N1: closed. The acceptance note names ruling B on 「已定制」有两种算法:Setup 详情计入排列调整,全部元数据页头和列表筛选不计 #37236 (7158100447) and says the Setup count changes there.
  • N2: closed. The acceptance notes and the 速读 both say a Studio-only author has no screen that creates a package until 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 / Studio 重构后续:顶栏应用名右侧加「⋯」软件包菜单(编辑信息、导出、复制、还原、收编散落项、在设置中管理);「导入」放到「设置 > 软件包」页头 #37139.
  • N3: closed. Bullet 1 now reads 「凡是开放了元数据编辑的环境都会出现」. Bullet 2 says the menu changes were not walked live. The Verification table marks the old label.
  • N4: closed. HomePage.noAgentsBuildChip-26614 gains two cases under the real MePermissionsProvider. Run here in a throwaway worktree at this head, after pnpm --filter '@object-ui/app-shell^...' build (lock VERDICT command-exit 0). Baseline: 12 passed of 12. Four single-site mutations, each restored with git diff HEAD empty:
    • the door made to fail closed on an unreported set: 4 red. They are the new unreported case and the three stubbed no-agent cases; the reported-set control stays green.
    • the door forced to Setup: 2 red, the reported-set control and the Studio-only case.
    • the door forced to All metadata: 4 red, the unreported case among them.
    • the provider's own hasCapabilities made to fail closed (MePermissionsProvider.tsx): 1 red, the unreported case alone. So the case reaches the real provider, not a stub.
  • N5: closed. 'New in Studio' is left only in changesets, changelogs, release notes and checklist history.
  • N6: closed. StudioEntryRedirect.test.tsx has 12 cases and the body says 12.
  • Fail-open note: closed. The acceptance note cites contract review 7162083002 ④, the server's refusal on create, and the pin by name.

The dev's two questions

  • (1) An overlap-check exit 1 caused only by open-PR conflicts: A. It orders the landing and does not hold a push.
    • The script's header says a base conflict is the branch's own to resolve, and a PR-head conflict queues the branch behind that PR until it lands. A push to a draft PR lands nothing.
    • B would hold every round until another lane lands, for a conflict this branch cannot resolve.
    • The dispatch sentence "must exit 0 before the push" was the seat's wording and was too wide. The dev pushed and declared it; that is accepted.
  • (2) The nested 速读 sub-lines: A. The body keeps them. The seat's final 速读, in the hand-off comment, has four lines and folds the three sentences in.

The merges

Gates and shape

Nits (numbered on from the prior L1's N1–N6)

Seat-side, not the dev's

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 54e4586edffc4227ca75e2bf69adad4131d510d6
Local-runs: probe — the delta L1's pin ablation: vitest on HomePage.noAgentsBuildChip-26614 in a throwaway worktree at this head after the app-shell closure build (baseline 12 passed of 12), four single-site mutations each restored (worktree clean after, removed); and released-keys-removed.mjs read at the merge base and at this head
Scope: none (no reviewFace hits: no published schema and no governed path; record-recognisers.mjs --paths on the 101 files decides no face and defers to the changeset's Clause-②: no, which carries no (narrowing) arm) + the delta since record 7162083002: docs/qa/platform-checklist/areas/automation.json, studio-authoring.json, ux-conventions.json, ui/packages/app-shell/src/console/home/__tests__/HomePage.noAgentsBuildChip-26614.test.tsx, console/home/HomePage.tsx, console/ai/AiUnavailable.tsx, views/metadata-admin/packageSource.ts, the merge resolution in views/studio-design/StudioDesignSurface.notFound-26708.test.tsx, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts as merged, .changeset/36908-remove-studio-home.md, .changeset/36908-studio-home-strings.md, and the PR body's two declaration lines. Read, not reviewed: hooks/useNewPackageDoorPath.ts, ui/packages/permissions/src/MePermissionsProvider.tsx, views/studio-design/setupMetadataRedirect.ts, views/studio-design/metadataArea.ts, ui/packages/i18n/scripts/released-keys-removed.mjs, and the @object-ui/i18n@18.6.0 tag

Same-head review of the delta since record 7162083002 (head 1c7f29cc), and of the declaration again at this head. The delta is two commits of the branch's own (checklist text; one test file and four comments) and two merges of main, the second carrying #37169. The diff against the merge base 4fb03ebb is 101 files, +2,306 −5,217. Check-runs on this head: 73, of which 61 success, 12 skipped, 0 failed. git merge-tree --write-tree origin/main is clean against 039b2884 (K 6 by landing-k.mjs).

Prior items: N1: closed. N2: closed.

① Derived judgments

Released translation keys: none removed, re-measured after #37169 and #37230.

  • main's released-keys-removed.mjs against the @object-ui/i18n@18.6.0 tag: 76 keys absent at the merge base 4fb03ebb, and the same 76 at this head.
  • Studio namespace, en and zh, against 4fb03ebb: the branch removes exactly four keys (engine.studio.landing.manage, .manageTitle, .allPackages, .allPackagesTitle). None is in the tag. It adds 38 per language and changes 0 values.
  • All 71 released engine.studio.landing* keys are present at head.
  • The eleven locale packs change one value each, home.build.inStudio, and no key.
  • So Clause-②: no holds. No (narrowing) arm and no 「Removed translation keys」 entry is owed on the open 19.0.0 line.

Published exports and types: none moved by the delta.

  • The two own commits touch a test file, three comments and three checklist files. No barrel and no published entry is in them.
  • The merged tree with origin/main names none of the removed symbols (BuilderLanding, STUDIO_LANDING_PATH, fetchInstalledPackageRow, LandingCustomizationsPanel, landingCustomizations-io).

The merges.

The declaration line, four carriers. readClause2Line and readMetadataProtocolLine return no and none on the PR body, both changesets and the card's newest Claim: comment (7141034666).

② Semver level

  • Unchanged from record 7162083002: four patch entries across two changesets, each with Clause-②: no and Metadata-protocol: none at line start. Neither changeset file changed since 1c7f29cc.
  • main entered Changesets pre mode (chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230) between the two heads. That changes the version these patches publish under, not their level.
  • Metadata-protocol: none holds: the delta changes no route, door or wire shape.
  • No BREAKING banner, migration mapping or ADR-0087 marker is owed.

③ Boundary flags

  • Dev report 7165780205:
    • Open question 1 (overlap-check exit 1 from open-PR conflicts): answered A in the delta L1. It orders the landing, not the push.
    • Open question 2 (nested 速读 sub-lines): answered A. The seat's hand-off comment carries the four-line form.
    • Deviations: three extra fixture lines re-pointed, each with a revision entry, accepted; no revision entry on counts-and-marks, accepted, since its revision 4 is this PR's own; one merge started in the primary checkout and aborted, with both merge parents on main's first-parent line and nothing stray on the branch.
    • security_findings is none.
    • Out-of-scope finding: the full check:platform-checklist is red on main for an anchor feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 removed. It is not this PR's and goes to the seat.
  • SQL push-down: no server or query code is in the delta.
  • Permission gates: unchanged. The new cases read the door's link target only.
  • Outside this review's faces: the delta L1 at this head is ACCEPT with two nits, both prose.

④ Design judgment

The delta adds a pin, not behaviour. Two questions.

  • Does the new pin hold the doctrine judged A in record 7162083002 ④? Yes.
    • The unreported case mounts Home under the real MePermissionsProvider with an authenticated answer that has no systemPermissions, and expects Setup's New Package. The control gives a reported set holding manage_metadata alone and expects /studio/~all/metadata.
    • Run here: the door made to fail closed turns the unreported case red and leaves the control green; the door forced to Setup turns the control red; the provider's own hasCapabilities made to fail closed turns the unreported case red and nothing else. So the case reads the real provider's answer, and each direction has a case that fails.
  • Do the checklist re-points describe this head? Yes for every scored text.
    • The packaged-actions bookmark with no package: packagedActionsStudioPath returns SETUP_PACKAGES_PATH, as the item's title, steps[1] and acceptance[0] now say.
    • 'Build an app' still targets bare /studio, which StudioEntryRedirect resolves to the last package or the fallback, as first-run-loop steps[1] says.
    • N3 — in the first item, fixtures.knownGaps[0] still says that bookmark opens "/studio (the landing)", and steps[1] spells the landing address with the setup alias where the PR's walk recorded com.objectstack.setup. Neither is a scored clause.

Implemented-by: claude/issue-36908-remove-studio-home
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 54e4586edffc4227ca75e2bf69adad4131d510d6
Local-runs: probe — the delta L1's pin ablation: vitest on HomePage.noAgentsBuildChip-26614 in a throwaway worktree at this head after the app-shell closure build (baseline 12 passed of 12), four single-site mutations each restored (worktree clean after, removed); and released-keys-removed.mjs read at the merge base and at this head
Scope: none (no reviewFace hits: no published schema and no governed path; record-recognisers.mjs --paths on the 101 files decides no face and defers to the changeset's Clause-②: no, which carries no (narrowing) arm) + the delta since record 7162083002: docs/qa/platform-checklist/areas/automation.json, studio-authoring.json, ux-conventions.json, ui/packages/app-shell/src/console/home/__tests__/HomePage.noAgentsBuildChip-26614.test.tsx, console/home/HomePage.tsx, console/ai/AiUnavailable.tsx, views/metadata-admin/packageSource.ts, the merge resolution in views/studio-design/StudioDesignSurface.notFound-26708.test.tsx, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts as merged, .changeset/36908-remove-studio-home.md, .changeset/36908-studio-home-strings.md, and the PR body's two declaration lines. Read, not reviewed: hooks/useNewPackageDoorPath.ts, ui/packages/permissions/src/MePermissionsProvider.tsx, views/studio-design/setupMetadataRedirect.ts, views/studio-design/metadataArea.ts, ui/packages/i18n/scripts/released-keys-removed.mjs, and the @object-ui/i18n@18.6.0 tag

Same-head review of the delta since record 7162083002 (head 1c7f29cc), and of the declaration again at this head. The delta is two commits of the branch's own (checklist text; one test file and four comments) and two merges of main, the second carrying #37169. The diff against the merge base 4fb03ebb is 101 files, +2,306 −5,217. Check-runs on this head: 73, of which 61 success, 12 skipped, 0 failed. git merge-tree --write-tree origin/main is clean against 039b2884 (K 6 by landing-k.mjs).

Prior items: N1: closed. N2: closed.

① Derived judgments

  • Re-served at the declaration face's tier. record-recognisers --paths decides no schema or rules face on this diff, so the record's tier is TIER_DEFAULT. The text is the same review posted as 7168234100, which was mislabelled CONTRACT_REVIEW_TIER, a seat error.

Released translation keys: none removed, re-measured after #37169 and #37230.

  • main's released-keys-removed.mjs against the @object-ui/i18n@18.6.0 tag: 76 keys absent at the merge base 4fb03ebb, and the same 76 at this head.
  • Studio namespace, en and zh, against 4fb03ebb: the branch removes exactly four keys (engine.studio.landing.manage, .manageTitle, .allPackages, .allPackagesTitle). None is in the tag. It adds 38 per language and changes 0 values.
  • All 71 released engine.studio.landing* keys are present at head.
  • The eleven locale packs change one value each, home.build.inStudio, and no key.
  • So Clause-②: no holds. No (narrowing) arm and no 「Removed translation keys」 entry is owed on the open 19.0.0 line.

Published exports and types: none moved by the delta.

  • The two own commits touch a test file, three comments and three checklist files. No barrel and no published entry is in them.
  • The merged tree with origin/main names none of the removed symbols (BuilderLanding, STUDIO_LANDING_PATH, fetchInstalledPackageRow, LandingCustomizationsPanel, landingCustomizations-io).

The merges.

The declaration line, four carriers. readClause2Line and readMetadataProtocolLine return no and none on the PR body, both changesets and the card's newest Claim: comment (7141034666).

② Semver level

  • Unchanged from record 7162083002: four patch entries across two changesets, each with Clause-②: no and Metadata-protocol: none at line start. Neither changeset file changed since 1c7f29cc.
  • main entered Changesets pre mode (chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230) between the two heads. That changes the version these patches publish under, not their level.
  • Metadata-protocol: none holds: the delta changes no route, door or wire shape.
  • No BREAKING banner, migration mapping or ADR-0087 marker is owed.

③ Boundary flags

  • Dev report 7165780205:
    • Open question 1 (overlap-check exit 1 from open-PR conflicts): answered A in the delta L1. It orders the landing, not the push.
    • Open question 2 (nested 速读 sub-lines): answered A. The seat's hand-off comment carries the four-line form.
    • Deviations: three extra fixture lines re-pointed, each with a revision entry, accepted; no revision entry on counts-and-marks, accepted, since its revision 4 is this PR's own; one merge started in the primary checkout and aborted, with both merge parents on main's first-parent line and nothing stray on the branch.
    • security_findings is none.
    • Out-of-scope finding: the full check:platform-checklist is red on main for an anchor feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 removed. It is not this PR's and goes to the seat.
  • SQL push-down: no server or query code is in the delta.
  • Permission gates: unchanged. The new cases read the door's link target only.
  • Outside this review's faces: the delta L1 at this head is ACCEPT with two nits, both prose.

④ Design judgment

The delta adds a pin, not behaviour. Two questions.

  • Does the new pin hold the doctrine judged A in record 7162083002 ④? Yes.
    • The unreported case mounts Home under the real MePermissionsProvider with an authenticated answer that has no systemPermissions, and expects Setup's New Package. The control gives a reported set holding manage_metadata alone and expects /studio/~all/metadata.
    • Run here: the door made to fail closed turns the unreported case red and leaves the control green; the door forced to Setup turns the control red; the provider's own hasCapabilities made to fail closed turns the unreported case red and nothing else. So the case reads the real provider's answer, and each direction has a case that fails.
  • Do the checklist re-points describe this head? Yes for every scored text.
    • The packaged-actions bookmark with no package: packagedActionsStudioPath returns SETUP_PACKAGES_PATH, as the item's title, steps[1] and acceptance[0] now say.
    • 'Build an app' still targets bare /studio, which StudioEntryRedirect resolves to the last package or the fallback, as first-run-loop steps[1] says.
    • N3 — in the first item, fixtures.knownGaps[0] still says that bookmark opens "/studio (the landing)", and steps[1] spells the landing address with the setup alias where the PR's walk recorded com.objectstack.setup. Neither is a scored clause.

Implemented-by: claude/issue-36908-remove-studio-home
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

维护者速读

Approval request at 2026-11-25T16:37Z. Seat opinion: approve. The delta since the last review is checklist text, one test file, four comments and two merges of main; it changes no behaviour. The L1 at this head is ACCEPT with two prose nits, and the same-head contract review is PASS. All 73 check-runs are green or expected skips, main merges cleanly, and K is 6. #37249 conflicts with this PR in two Home test files, so whichever of the two lands second merges main first.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 25, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 25, 2026 16:42
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit fbb62e1 Nov 25, 2026
79 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36908-remove-studio-home branch November 25, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口

3 participants